300
|
Can I add any break or divider line

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:ScrollBySingleLine := false
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
h := var_Items:Add(nil)
var_Items:[ItemBreak,h] := SingleLine
var_Items:[SelectableItem,h] := false
var_Items:[ItemHeight,h] := 6
var_Items:Add("Item 3")
|
299
|
Can I change the default border of the tooltip, using your EBN files

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exToolTipAppearance] := 0x1000000
IColumn{oDCOCX_Exontrol1:Columns:Add("tootip")}:ToolTip := "this is a tooltip assigned to a column"
|
298
|
Can I change the background color for the tooltip

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:[Background,exToolTipBackColor] := RGB(255,0,0)
IColumn{oDCOCX_Exontrol1:Columns:Add("tootip")}:ToolTip := "this is a tooltip assigned to a column"
|
297
|
Does the tooltip support HTML format

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
IColumn{oDCOCX_Exontrol1:Columns:Add("tootip")}:ToolTip := "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgcolor>"
|
296
|
Can I change the forecolor for the tooltip

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:[Background,exToolTipForeColor] := RGB(255,0,0)
IColumn{oDCOCX_Exontrol1:Columns:Add("tootip")}:ToolTip := "this is a tooltip assigned to a column"
|
295
|
Can I change the foreground color for the tooltip

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
IColumn{oDCOCX_Exontrol1:Columns:Add("tootip")}:ToolTip := "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>"
|
294
|
Is there any function to limit the height of the items when I display it using multiple lines

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines."
var_Items:[CellSingleLine,h,1] := exCaptionWordWrap
var_Items:[ItemMaxHeight,h] := 48
|
293
|
Why I cannot center my cells in the column

oDCOCX_Exontrol1:DrawGridLines := exAllLines
IColumn{oDCOCX_Exontrol1:Columns:Add("Default")}:Alignment := CenterAlignment
oDCOCX_Exontrol1:Items:Add("item 1")
oDCOCX_Exontrol1:Items:Add("item 2")
oDCOCX_Exontrol1:Items:Add("item 3")
|
292
|
How can I align the cell to the left, center or to the right

local var_Items as IItems
oDCOCX_Exontrol1:DrawGridLines := exAllLines
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CellHAlignment,var_Items:Add("left"),0] := LeftAlignment
var_Items:[CellHAlignment,var_Items:Add("center"),0] := CenterAlignment
var_Items:[CellHAlignment,var_Items:Add("right"),0] := RightAlignment
|
291
|
How do I apply HTML format to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[HTMLPicture,"p1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:[HTMLPicture,"p2"] := "c:\exontrol\images\auction.gif"
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("The following item shows some of the HTML format supported:")
var_Items:[CellHAlignment,h,0] := CenterAlignment
h := var_Items:Add("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ")
var_Items:[CaptionFormat,h,0] := exHTML
var_Items:[CellSingleLine,h,0] := exCaptionWordWrap
|
290
|
How can I change the font for a cell

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
oDCOCX_Exontrol1:Items:Add("std font")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CaptionFormat,var_Items:Add("this <font tahoma;12>is a bit of text with</font> a different font"),0] := exHTML
|
289
|
How can I change the font for a cell

local var_Items as IItems
local f as stdFont
oDCOCX_Exontrol1:Columns:Add("Default")
oDCOCX_Exontrol1:Items:Add("default font")
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
f := stdFont{"StdFont"}
f:Name := "Tahoma"
f:Size := 12
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CellFont,var_Items:Add("new font"),0] := f
|
288
|
How can I change the font for entire item

local var_Items as IItems
local f as stdFont
oDCOCX_Exontrol1:Columns:Add("Default")
oDCOCX_Exontrol1:Items:Add("default font")
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
f := stdFont{"StdFont"}
f:Name := "Tahoma"
f:Size := 12
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemFont,var_Items:Add("new font")] := f
|
287
|
How do I vertically align a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:DrawGridLines := exAllLines
IColumn{oDCOCX_Exontrol1:Columns:Add("MultipleLine")}:[Def,exCellSingleLine] := false
oDCOCX_Exontrol1:Columns:Add("VAlign")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("This is a bit of long text that should break the line")
var_Items:[Caption,h,1] := "top"
var_Items:[CellVAlignment,h,1] := TopAlignment
h := var_Items:Add("This is a bit of long text that should break the line")
var_Items:[Caption,h,1] := "middle"
var_Items:[CellVAlignment,h,1] := MiddleAlignment
h := var_Items:Add("This is a bit of long text that should break the line")
var_Items:[Caption,h,1] := "bottom"
var_Items:[CellVAlignment,h,1] := BottomAlignment
|
286
|
How can I change the position of an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:[ItemPosition,var_Items:Add("Item 3")] := 0
|
285
|
How do I find an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[ItemBold,var_Items:[FindItem,"Item 2",0,nil]] := true
|
284
|
How can I insert a hyperlink or an anchor element

local var_Items,var_Items1 as IItems
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CaptionFormat,var_Items:Add("Just an <a1>anchor</a> element ..."),0] := exHTML
var_Items1 := oDCOCX_Exontrol1:Items
var_Items1:[CaptionFormat,var_Items1:Add("Just another <a2>anchor</a> element ..."),0] := exHTML
|
283
|
How do I find the handle of the item based on its index

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[ItemBold,1] := true
|
282
|
How can I find the cell being clicked in a radio group

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:SelBackColor := RGB(255,255,128)
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
oDCOCX_Exontrol1:Columns:Add("C3")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Radio 1"
var_Items:[CellHasRadioButton,h,1] := true
var_Items:[CellRadioGroup,h,1] := 1234
var_Items:[Caption,h,2] := "Radio 2"
var_Items:[CellHasRadioButton,h,2] := true
var_Items:[CellRadioGroup,h,2] := 1234
var_Items:[CellState,h,1] := 1
var_Items:CellChecked(1234,i,c)
var_Items:[CellBold,i,c] := true
|
281
|
Can I let the user to resize at runtime the specified item

local var_Items as IItems
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:DrawGridLines := exAllLines
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemAllowSizing,var_Items:Add("resizable item")] := true
var_Items:Add("not resizable item")
|
280
|
How can I change the size ( width, height ) of the picture

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_Items:[CellPicture,h,0] := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
var_Items:[CellPictureWidth,h,0] := 24
var_Items:[CellPictureHeight,h,0] := 24
var_Items:[ItemHeight,h] := 32
h := var_Items:Add("Item 2")
var_Items:[CellPicture,h,0] := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
var_Items:[ItemHeight,h] := 48
|
279
|
How can I find the number or the count of selected items

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[SelectItem,var_Items:FirstVisibleItem] := true
var_Items:[SelectItem,var_Items:[NextVisibleItem,var_Items:FirstVisibleItem]] := true
var_Items:Add(var_Items:SelectCount)
|
278
|
How do I unselect an item

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[SelectItem,h] := false
|
277
|
How do I find the selected item

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[SelectItem,h] := true
var_Items:[ItemBold,var_Items:[SelectedItem,0]] := true
|
276
|
How do I un select all items

local var_Items as IItems
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:UnselectAll()
|
275
|
How do I select multiple items

local var_Items as IItems
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[SelectItem,var_Items:FirstVisibleItem] := true
var_Items:[SelectItem,var_Items:[NextVisibleItem,var_Items:FirstVisibleItem]] := true
|
274
|
How do I select all items

local var_Items as IItems
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:SelectAll()
|
273
|
How do I select an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[SelectItem,var_Items:[NextVisibleItem,var_Items:FocusItem]] := true
|
272
|
Can I display a button with some picture or icon inside

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:[HTMLPicture,"p1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := " Button <img>p1</img> "
var_Items:[CaptionFormat,h,1] := exHTML
var_Items:[CellHAlignment,h,1] := RightAlignment
var_Items:[CellHasButton,h,1] := true
var_Items:[ItemHeight,h] := 48
|
271
|
Can I display a button with some picture or icon inside

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := " Button <img>1</img> "
var_Items:[CaptionFormat,h,1] := exHTML
var_Items:[CellHAlignment,h,1] := RightAlignment
var_Items:[CellHasButton,h,1] := true
|
270
|
Can I display a button with some icon inside

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := " <img>1</img> "
var_Items:[CaptionFormat,h,1] := exHTML
var_Items:[CellHAlignment,h,1] := RightAlignment
var_Items:[CellHasButton,h,1] := true
|
269
|
How can I assign multiple icon/picture to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:[HTMLPicture,"p1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:[HTMLPicture,"p2"] := "c:\exontrol\images\auction.gif"
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("text <img>p1</img> another picture <img>p2</img> and so on")
var_Items:[CaptionFormat,h,0] := exHTML
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_Items:[CellPicture,h,0] := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
var_Items:[ItemHeight,h] := 48
var_Items:Add("Item 2")
|
268
|
How can I assign an icon/picture to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_Items:[CellPicture,h,0] := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
var_Items:[ItemHeight,h] := 48
var_Items:Add("Item 2")
|
267
|
How can I assign multiple icons/pictures to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item <img>1</img> 1, <img>2</img>, ... and so on ")
var_Items:[CaptionFormat,h,0] := exHTML
|
266
|
How can I assign multiple icons/pictures to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
var_Items:[CellImages,h,0] := "1,2,3"
|
265
|
How can I assign an icon/picture to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
var_Items:[CellImage,h,0] := 1
var_Items:[CellImage,var_Items:Add("Item 2"),0] := 2
var_Items:[CellImage,var_Items:Add("Item 3"),0] := 3
|
264
|
How can I display a button inside the item or cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := " Button 1 "
var_Items:[CellHAlignment,h,1] := RightAlignment
var_Items:[CellHasButton,h,1] := true
h := var_Items:Add("Cell 2")
var_Items:[Caption,h,1] := " Button 2 "
var_Items:[CellHAlignment,h,1] := CenterAlignment
var_Items:[CellHasButton,h,1] := true
|
263
|
How can I change the state of a radio button

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:SelBackColor := RGB(255,255,128)
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
oDCOCX_Exontrol1:Columns:Add("C3")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Radio 1"
var_Items:[CellHasRadioButton,h,1] := true
var_Items:[CellRadioGroup,h,1] := 1234
var_Items:[Caption,h,2] := "Radio 2"
var_Items:[CellHasRadioButton,h,2] := true
var_Items:[CellRadioGroup,h,2] := 1234
var_Items:[CellState,h,1] := 1
|
262
|
How can I assign a radio button to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:SelBackColor := RGB(255,255,128)
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
oDCOCX_Exontrol1:Columns:Add("C3")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Radio 1"
var_Items:[CellHasRadioButton,h,1] := true
var_Items:[CellRadioGroup,h,1] := 1234
var_Items:[Caption,h,2] := "Radio 2"
var_Items:[CellHasRadioButton,h,2] := true
var_Items:[CellRadioGroup,h,2] := 1234
var_Items:[CellState,h,1] := 1
|
261
|
How can I change the state of a checkbox

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Check Box"
var_Items:[CellHasCheckBox,h,1] := true
var_Items:[CellState,h,1] := 1
|
260
|
How can I assign a checkbox to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Check Box"
var_Items:[CellHasCheckBox,h,1] := true
|
259
|
How can I display an item or a cell on multiple lines

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "This is bit of text that's shown on multiple lines"
var_Items:[CellSingleLine,h,1] := exCaptionWordWrap
|
258
|
How can I assign a tooltip to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "tooltip"
var_Items:[CellToolTip,h,1] := "This is bit of text that's shown when the user hovers the cell"
|
257
|
How can I associate an extra data to a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Cell 2"
var_Items:[CellData,h,1] := "your extra data"
|
256
|
How do I enable or disable a cell

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Cell 2"
var_Items:[CellEnabled,h,1] := false
|
255
|
How do I change the cell's foreground color

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Cell 2"
var_Items:[CellForeColor,h,1] := RGB(255,0,0)
|
254
|
How do I change the visual effect for the cell, using your EBN files

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Cell 2"
var_Items:[CellBackColor,h,1] := 0x1000000
|
253
|
How do I change the cell's background color

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Cell 1")
var_Items:[Caption,h,1] := "Cell 2"
var_Items:[CellBackColor,h,1] := RGB(255,0,0)
|
252
|
How do I change the caption or value for a particular cell

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,var_Items:Add("Cell 1"),1] := "Cell 2"
|
251
|
How do I retrieve the focused item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("Item 1")
var_Items:Add("Item 2")
var_Items:Add("Item 3")
var_Items:[ItemBold,var_Items:FocusItem] := true
|
250
|
How do I enumerate the visible items

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("Item 1")
h := var_Items:Add("Item 2")
var_Items:[ItemBold,var_Items:FirstVisibleItem] := true
var_Items:[ItemBold,var_Items:[NextVisibleItem,var_Items:FirstVisibleItem]] := true
|
249
|
How can I make an item unselectable, or not selectable

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("unselectable - you can't get selected")
var_Items:[SelectableItem,h] := false
var_Items:Add("selectable")
|
248
|
How can I hide or show an item

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
h := var_Items:Add("hidden")
var_Items:[ItemHeight,h] := 0
var_Items:[SelectableItem,h] := false
var_Items:Add("visible")
|
247
|
How can I change the height for all items

oDCOCX_Exontrol1:DefaultItemHeight := 32
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add("One")
oDCOCX_Exontrol1:Items:Add("Two")
|
246
|
How do I change the height of an item

local var_Items as IItems
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemHeight,var_Items:Add("height")] := 128
oDCOCX_Exontrol1:Items:Add("enabled")
|
245
|
How do I disable or enable an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[EnableItem,var_Items:Add("disabled")] := false
oDCOCX_Exontrol1:Items:Add("enabled")
|
244
|
How do I display as strikeout a cell

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CellStrikeOut,var_Items:Add("strikeout"),0] := true
|
243
|
How do I display as strikeout a cell or an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CaptionFormat,var_Items:Add("gets <s>strikeout</s> only a portion of text"),0] := exHTML
|
242
|
How do I display as strikeout an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemStrikeOut,var_Items:Add("strikeout")] := true
|
241
|
How do I underline a cell

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CellUnderline,var_Items:Add("underline"),0] := true
|
240
|
How do I underline a cell or an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CaptionFormat,var_Items:Add("gets <u>underline</u> only a portion of text"),0] := exHTML
|
239
|
How do I underline an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemUnderline,var_Items:Add("underline")] := true
|
238
|
How do I display as italic a cell

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CellItalic,var_Items:Add("italic"),0] := true
|
237
|
How do I display as italic a cell or an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CaptionFormat,var_Items:Add("gets <i>italic</i> only a portion of text"),0] := exHTML
|
236
|
How do I display as italic an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemItalic,var_Items:Add("italic")] := true
|
235
|
How do I bold a cell

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CellBold,var_Items:Add("bold"),0] := true
|
234
|
How do I bold a cell or an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[CaptionFormat,var_Items:Add("gets <b>bold</b> only a portion of text"),0] := exHTML
|
233
|
How do I bold an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemBold,var_Items:Add("bold")] := true
|
232
|
How do I change the foreground color for the item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemForeColor,var_Items:Add("Item")] := RGB(255,0,0)
|
231
|
How do I change the visual appearance for the item, using your EBN technology

local var_Items as IItems
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemBackColor,var_Items:Add("Item")] := 0x1000000
|
230
|
How do I change the background color for the item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemBackColor,var_Items:Add("Item")] := RGB(255,0,0)
|
229
|
How do I associate an extra data to an item

local var_Items as IItems
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[ItemData,var_Items:Add("item")] := "your extra data"
|
228
|
How do I programmatically edit a cell

METHOD OCX_Exontrol1AfterCellEdit(ItemIndex,ColIndex,NewCaption) CLASS MainDialog
// AfterCellEdit event - Occurs after data in the current cell is edited.
local var_Items as IItems
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,ItemIndex,ColIndex] := NewCaption
RETURN NIL
METHOD OCX_Exontrol1CancelCellEdit(ItemIndex,ColIndex,Reserved) CLASS MainDialog
// CancelCellEdit event - Occurs if the edit operation is canceled.
local var_Items as IItems
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,ItemIndex,ColIndex] := Reserved
RETURN NIL
METHOD OCX_Exontrol1Click() CLASS MainDialog
// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
local var_Items as IItems
var_Items := oDCOCX_Exontrol1:Items
var_Items:Edit(var_Items:FocusItem,0)
RETURN NIL
local var_Items as IItems
oDCOCX_Exontrol1:AllowEdit := true
oDCOCX_Exontrol1:Columns:Add("Default")
var_Items := oDCOCX_Exontrol1:Items
var_Items:Add("")
|
227
|
How can I ensure or scroll the control so the item fits the control's client area

local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
h := oDCOCX_Exontrol1:Items:Add("item")
oDCOCX_Exontrol1:Items:EnsureVisibleItem(h)
|
226
|
How can I remove or delete all items
oDCOCX_Exontrol1:Columns:Add("Default")
oDCOCX_Exontrol1:Items:Add("removed item")
oDCOCX_Exontrol1:Items:RemoveAll()
|
225
|
How can I remove or delete an item
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("Default")
h := oDCOCX_Exontrol1:Items:Add("removed item")
oDCOCX_Exontrol1:Items:Remove(h)
|
224
|
How can I add or insert an item

local var_Items as IItems
local h as USUAL
oDCOCX_Exontrol1:Columns:Add("C1")
oDCOCX_Exontrol1:Columns:Add("C2")
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,var_Items:Add("Cell 1"),1] := "Cell 2"
h := var_Items:Add("Cell 3")
var_Items:[Caption,h,1] := "Cell 4"
|
223
|
How can I add or insert an item

oDCOCX_Exontrol1:Columns:Add("Default")
oDCOCX_Exontrol1:Items:Add("new item")
|
222
|
How can I get the columns as they are shown in the control's sortbar
local var_Object as USUAL
var_Object := oDCOCX_Exontrol1:Columns:[ItemBySortPosition,0]
|
221
|
How can I access the properties of a column

oDCOCX_Exontrol1:Columns:Add("A")
oDCOCX_Exontrol1:Columns:[Item,"A"]:HeaderBold := true
|
220
|
How can I remove all the columns
oDCOCX_Exontrol1:Columns:Clear()
|
219
|
How can I remove a column
oDCOCX_Exontrol1:Columns:Remove("A")
|
218
|
How can I get the number or the count of columns
local var_Count as USUAL
var_Count := oDCOCX_Exontrol1:Columns:Count
|
217
|
How can I change the font for all cells in the entire column

local var_ConditionalFormat as IConditionalFormat
local f as stdFont
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
f := stdFont{"StdFont"}
f:Name := "Tahoma"
f:Size := 12
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:Font := f
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
216
|
How can I change the background color for all cells in the column

local var_ConditionalFormat as IConditionalFormat
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:BackColor := RGB(255,0,0)
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
215
|
How can I change the foreground color for all cells in the column

local var_ConditionalFormat as IConditionalFormat
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:ForeColor := RGB(255,0,0)
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
214
|
How can I show as strikeout all cells in the column

local var_ConditionalFormat as IConditionalFormat
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:StrikeOut := true
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
213
|
How can I underline all cells in the column

local var_ConditionalFormat as IConditionalFormat
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:Underline := true
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
212
|
How can I show in italic all data in the column

local var_ConditionalFormat as IConditionalFormat
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:Italic := true
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
211
|
How can I bold the entire column

local var_ConditionalFormat as IConditionalFormat
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil)
var_ConditionalFormat:Bold := true
var_ConditionalFormat:ApplyTo := exFormatToColumns
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:Add(0)
oDCOCX_Exontrol1:Items:Add(1)
|
210
|
How can I display a computed column and highlight some values that are negative or less than a value

local var_ConditionalFormat as IConditionalFormat
local var_Items,var_Items1 as IItems
oDCOCX_Exontrol1:Columns:Add("A")
oDCOCX_Exontrol1:Columns:Add("B")
IColumn{oDCOCX_Exontrol1:Columns:Add("(A+B)*1.19")}:ComputedField := "(%0 + %1) * 1.19"
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,var_Items:Add(1),1] := 2
var_Items1 := oDCOCX_Exontrol1:Items
var_Items1:[Caption,var_Items1:Add(10),1] := 20
var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("%2 > 10",nil)
var_ConditionalFormat:Bold := true
var_ConditionalFormat:ForeColor := RGB(255,0,0)
var_ConditionalFormat:ApplyTo := 0x2 |
|
209
|
Can I display a computed column so it displays the VAT, or SUM

local var_Items,var_Items1 as IItems
oDCOCX_Exontrol1:Columns:Add("A")
oDCOCX_Exontrol1:Columns:Add("B")
IColumn{oDCOCX_Exontrol1:Columns:Add("(A+B)*1.19")}:ComputedField := "(%0 + %1) * 1.19"
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,var_Items:Add(1),1] := 2
var_Items1 := oDCOCX_Exontrol1:Items
var_Items1:[Caption,var_Items1:Add(10),1] := 20
|
208
|
How can I show a column that adds values in the cells

local var_Items,var_Items1 as IItems
oDCOCX_Exontrol1:Columns:Add("A")
oDCOCX_Exontrol1:Columns:Add("B")
IColumn{oDCOCX_Exontrol1:Columns:Add("A+B")}:ComputedField := "%0 + %1"
var_Items := oDCOCX_Exontrol1:Items
var_Items:[Caption,var_Items:Add(1),1] := 2
var_Items1 := oDCOCX_Exontrol1:Items
var_Items1:[Caption,var_Items1:Add(10),1] := 20
|
207
|
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters

local var_Column as IColumn
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Filter")}
var_Column:FilterOnType := true
var_Column:DisplayFilterButton := true
var_Column:AutoSearch := exContains
oDCOCX_Exontrol1:Items:Add("Canada")
oDCOCX_Exontrol1:Items:Add("USA")
|
206
|
Is there any function to filter the control's data as I type, something like filter on type

local var_Column as IColumn
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Filter")}
var_Column:FilterOnType := true
var_Column:DisplayFilterButton := true
oDCOCX_Exontrol1:Items:Add("Canada")
oDCOCX_Exontrol1:Items:Add("USA")
|
205
|
How can I programmatically filter a column

local var_Column as IColumn
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Filter")}
var_Column:DisplayFilterButton := true
var_Column:FilterType := exNonBlanks
oDCOCX_Exontrol1:Items:Add(nil)
oDCOCX_Exontrol1:Items:Add("not empty")
oDCOCX_Exontrol1:ApplyFilter()
|
204
|
How can I show or display the control's filter

IColumn{oDCOCX_Exontrol1:Columns:Add("Filter")}:DisplayFilterButton := true
|
203
|
How can I customize the items being displayed in the drop down filter window

local var_Column as IColumn
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Custom Filter")}
var_Column:DisplayFilterButton := true
var_Column:DisplayFilterPattern := false
var_Column:CustomFilter := "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*.txt|*.log"
var_Column:FilterType := exPattern
var_Column:Filter := "*.xls"
oDCOCX_Exontrol1:Items:Add("excel.xls")
oDCOCX_Exontrol1:Items:Add("word.doc")
oDCOCX_Exontrol1:Items:Add("pp.pps")
oDCOCX_Exontrol1:Items:Add("text.txt")
oDCOCX_Exontrol1:ApplyFilter()
|
202
|
How can I change the order or the position of the columns in the sort bar

oDCOCX_Exontrol1:SortBarVisible := true
oDCOCX_Exontrol1:SortBarColumnWidth := 48
IColumn{oDCOCX_Exontrol1:Columns:Add("C1")}:SortOrder := SortAscending
IColumn{oDCOCX_Exontrol1:Columns:Add("C2")}:SortOrder := SortDescending
oDCOCX_Exontrol1:Columns:[Item,"C2"]:SortPosition := 0
|
201
|
How do I arrange my columns on multiple levels

IColumn{oDCOCX_Exontrol1:Columns:Add("S")}:Width := 32
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 2")}:LevelKey := 1
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 3")}:LevelKey := 1
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 4")}:LevelKey := 1
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 1")}:LevelKey := "2"
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 2")}:LevelKey := "2"
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 3")}:LevelKey := "2"
IColumn{oDCOCX_Exontrol1:Columns:Add("Level 4")}:LevelKey := "2"
IColumn{oDCOCX_Exontrol1:Columns:Add("E")}:Width := 32
|